package com.briup.labs.service;

import com.briup.labs.pojo.PageBean;
import com.briup.labs.pojo.SmartDeviceType;

import java.util.List;

public interface SmartDeviceTypeService {

    //查询所有
    List<SmartDeviceType> all();

    //分页查询
    PageBean<SmartDeviceType> list(String pageNum, String pageSize, String key);

    //添加或修改
    void saveOrUpdate(SmartDeviceType smartDeviceType);

    //删除
    void delete(String id);
}
